#include <QDataStream>
#include "message.h"

Message::Message(opType newOp)
{
	operation = (quint8)newOp;
}

Message::opType Message::getOpType(QByteArray & bytes)
{
	return ((opType)bytes.at(0));
}
